home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / VPOJAVA.DLL / SOURCE / BEANAPP < prev    next >
Text File  |  1998-12-10  |  717b  |  31 lines

  1. import java.awt.*;
  2. import java.applet.*;
  3. import java.awt.event.*;
  4. import JavaBean;
  5.  
  6. public class BeanApp extends Applet
  7. {
  8.     JavaBean bean;
  9.  
  10.     public void init()
  11.     {
  12.         super.init();
  13.  
  14.         // This code is automatically generated by Visual Cafe when you add
  15.         // components to the visual environment. It instantiates and initializes
  16.         // the components. To modify the code, only use code syntax that matches
  17.         // what Visual Cafe can generate, or Visual Cafe may be unable to back
  18.         // parse your Java file into its visual environment.
  19.         //{{INIT_CONTROLS
  20.         setLayout(new FlowLayout());
  21.         setSize(200,100);
  22.         //}}
  23.  
  24.         bean = new JavaBean();
  25.         add("Center",bean);
  26.     }
  27.  
  28.     //{{DECLARE_CONTROLS
  29.     //}}
  30. }
  31.